package com.robotserver.orders.param;

/**
 * 饿了么订单下载参数
 * @Auther: lucher
 * @Date: 2019/11/12 15:25
 * @Description:
 */
public class ElmOrderSyncParam {
    private Long begin_time;
    private Long end_time;
    private Integer downTimeType; //订单时间查询类型(1-付款时间 2-创建时间 3-结算时间 4-更新时间)

    private String redisQueueKey; //保存到redis队列KEY

    public Long getBegin_time() {
        return begin_time;
    }

    public void setBegin_time(Long begin_time) {
        this.begin_time = begin_time;
    }

    public Long getEnd_time() {
        return end_time;
    }

    public void setEnd_time(Long end_time) {
        this.end_time = end_time;
    }

    public Integer getDownTimeType() {
        if(downTimeType == null){
            downTimeType = 4; //默认更新时间下载
        }
        return downTimeType;
    }

    public void setDownTimeType(Integer downTimeType) {
        this.downTimeType = downTimeType;
    }

    public String getRedisQueueKey() {
        return redisQueueKey;
    }

    public void setRedisQueueKey(String redisQueueKey) {
        this.redisQueueKey = redisQueueKey;
    }
}
